<script>
  for (let i = 1; i <= 100; i++) {
    document.write(i + '<br>');
  }
</script>